<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<script type="text/javascript">
	$(function() {
		validReg("addForm");
	});
</script>
<div class="page-content">
	<!--content-->
	<div class="containerTop">
		<a href="javascript:;" class="a-back"
			onclick="menuUrl('dept/view', 'dept:page');"><span
			class="icon-back"></span></a> <span>添加部门</span>
	</div>



	<div class="panel charger">
		<form id="addForm" class="form-horizontal" role="form"
			onsubmit="return false;">
			<div class="numbResult">基本信息</div>

			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="col_red">*</span>部门名称：</label>
				<div class="col-sm-10 ">
					<div class="pr">
						<input type="text" name="name" class="form-control"
							placeholder="请输入部门名称" required data-bv-notempty data-bv-stringlength-max="100"  data-bv-stringlength="true">
					</div>
				</div>
			</div>
			<input type="hidden"  name="parentId" value="-1"/>					
			<div class="form-group">
				<label class="col-sm-2 control-label">描述：</label>
				<div class="col-sm-10">
					<!--<input type="text" class="form-control" placeholder="请输入办公电话">-->
					<textarea name="note" class="form-control" rows="6" data-bv-stringlength-max="500"  data-bv-stringlength="true"></textarea>
				</div>
			</div>

			<div class="text-center opareBtm">
				<button class="a-btn1" onclick="validateCallback(this, dept.adddept);">确定</button>
				<button type="button" onclick="menuUrl('dept/view', 'dept:page');"
					class="a-btn1 grey">返回</button>

			</div>
		</form>



	</div>


	<!--end content-->
</div>